package middol.sys

import grails.compiler.GrailsCompileStatic
/**
* @Description:    组织信息
* @Author:         zhangjiayu@middol.com
* @CreateDate:     2020/7/20 18:03
* @Version:        1.0
*/
class Org implements Serializable {
    private static final long serialVersionUID = 1
    
    String name
    String code
    Long pid = -1L

    static constraints = {
    }

    static mapping = {
        comment "组织信息"
        name comment: "组织名称"
        code comment: "组织编码"
        pid comment: "上级组织id"
    }
}
